LassoScript Utility
Basics Browse Detail

[ChartFX->SetTemplateStr]

Tag Link [ChartFX->SetTemplateStr] Category ChartFX
Type Member Source Available Yes
Support Preferred Version 8.5
Change New Data Source Any
Output Type None Security None
Implementation Sets Lasso 8.5

Description

[ChartFX->SetTemplateStr] sets the XML template for a chart to a string generated by Lasso. The template can be read in using [Include] or [Include_Raw] or can be generated programmatically as a string or [XML] type. The format for the template should be based on a template generated by the Chart FX for Java Designer which is included in the Chart FX folder in the Lasso application folder.


#00000000
#ffffffff
true
None
Gradient
CurveArea
Default.ChartFX6
Auto

Syntax

[Var:'MyChart'=ChartFX]
[$MyChart->SetWidth(800)]
[$MyChart->SetHeight(600)]
[$MyChart->SetTemplateStr(' ... ')]
[$MyChart->SetLassoData(Records_Array)]
[$MyChart->Render]

Parameters

Required Parameters
Template String A string containing the XML template for the chart.

Examples

See the Lasso 8 Language Guide for examples of how to use this tag.